package com.leoman.user.service;

import com.leoman.common.service.GenericManager;
import com.leoman.user.entity.UserCheck;
import org.springframework.data.domain.Page;

/**
 * Created by 蔡琦 on 2016/6/14 0014.
 */
public interface UserCheckService extends GenericManager<UserCheck> {

    // 审核列表（翻页）
    Page<UserCheck> page(String userName,
                         String profession,
                         String mobile,
                         Integer status,
                         Long startDate,
                         Long endDate,
                         Integer pageNum,
                         Integer pageSize);

    // 查看审核信息
    UserCheck getById(Long id);

    // 修改审核状态
    Integer changeCheckStatus(Long id, Integer status);
}
